<#include "/common/layout.html"> 
<@layout title="123">
<script type="text/javascript" src="/js/easyui/easyui_grid.js"></script>
<script type="text/javascript">
var datagrid;
var model_name = "/community";
var model_title="社区点管理";
$(function() {
	datagrid=$('#form_datagrid').datagrid({
	 	url:model_name+'/grid',
	 	columns:[[    
	        {field:'id',title:'编号',width:100,checkbox:true},
	        {field:'name',title:'社区名称',width:100},
	        {field:'contacts_name',title:'社区联系人',width:120},
	        {field:'contacts_phone',title:'联系人电话',width:120},
	        {field:'address',title:'社区地址',width:400},
	        {field:'status',title:'状态',width:80,
	      		formatter:function(value,row,index){
		      		if(row.status==1){
		      			return "有效";
		      		}else{
		      			return "<font color='red'>无效</font>";
		      		}
				}
			}/* ,
	        {field:'longitude',title:'经度',width:120},
	        {field:'latitude',title:'纬度',width:120} */
	    ]]
	})
})
</script>
<script type="text/javascript" src="/js/easyui/easyui_grid_common.js"></script>
</head>
<#include "/common/seach.html" />
	<@seach>
	<td>社区点名称</td>
	<td><input type="text" name="LIKE_name"></td>
	</@seach>
</@layout>